package com.gjr.eduservice.mapper;

import com.gjr.eduservice.entity.EduVideo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 课程视频 Mapper 接口
 * </p>
 *
 * @author gjr
 * @since 2022-09-01
 */
public interface EduVideoMapper extends BaseMapper<EduVideo> {

    // 根据课程id查询课程所有的视频id
    List<String> getVideoIdList(@Param("courseId") String courseId);
}
